| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Public Attributes | List of all members
nkWinUi::PopupCustomDescriptor Struct Referencefinal

Describes how a custom popup should behave. More...

## Public Attributes
nkWinUi::Component * | _customComponent = nullptr
std::function< void()> | _initializationCallback
bool | _closeOnOutsideClick = false
| Whether a click outside the popup should cause it to close itself, cancelling the interaction.

## Detailed Description

Describes how a custom popup should behave.

## Member Data Documentation

## ◆ _customComponent

nkWinUi::Component* nkWinUi::PopupCustomDescriptor::_customComponent = nullptr

The component that should be displayed in the popup. It is required to be set, and needs to have no parent component.

## ◆ _initializationCallback

std::function<void ()> nkWinUi::PopupCustomDescriptor::_initializationCallback

The callback to call once the window is fitted in the popup and loaded. Useful to set some focus for instance.

The documentation for this struct was generated from the following file:

- Documentation/Headers/NilkinsWinUi/Notifications/PopupCustomDescriptor.h